<?php
require_once("../func/common_func.php");
require_once("../func/common_html_func.php");
require_once("../func/common_page_func.php");
require_once("../func/common_file_func.php");
require_once("../func/common_js_func.php");
require_once("../func/common_time_func.php");
require_once("../func/session_func.php");
require_once("../func/sql_maker.php");
require_once("../db_configs.php");
require_once("../func/common_validate_func.php");
?>
<!DOCTYPE html >
<html>
<head>
	<title>Explorer</title>
	<meta name="generator" content="editplus">
	<meta name="author" content="Brian">
	<meta name="keywords" content="Brian">
	<meta name="description" content="">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<link rel='stylesheet' href='/u5/css/common.css'></link>
	<link rel='stylesheet' href='/u5/component/aa.css'></link>
	<link rel='stylesheet' href='/u5/component/drop_menu.css'></link>
	<link rel='stylesheet' href='/u5/component/idialog.css'></link>
	<link rel='stylesheet' href='/p5/explorer/explorer.css'></link>
	<script language='JavaScript' src='/u5/js/jquery-1.7.2.min.js'></script>
	<script language='JavaScript' src='/u5/js/common.js'></script>
	<script language='JavaScript' src='/u5/component/aa.js'></script>
	<script language='JavaScript' src='/u5/component/drop_menu.js'></script>
	<script language='JavaScript' src='/u5/component/idialog.js'></script>
	<script language='JavaScript' src='/u5/js/label.js'></script>
	<script language="JavaScript" src="/p5/explorer/explorer.js"></script>
	<iframe name="newwin" id="newwin" width="99%" height="0" style="display:none;"></iframe>
</head>

<body style="margin:0px;padding:0px;height:100%;">

<?php
error_reporting(1);
session_start();

$default_accept_types = array("jpg","gif","png");
$default_block_types = array("php","php3","php4","php5","asp","aspx","jsp","json","js","exe","py","pl","jar");

$root = deep_get("EXPLORER_ROOT",0,"");
if(empty($root)){
	header("location:explorer_session_timeout.php");
	exit();
}
$src_path = deep_get("EXPLORER_SRC_PATH",0,"");
$currentPath = deep_get("EXPLORER_FOLDER",0,$root);
$accept_types = deep_get("EXPLORER_ACCEPT_TYPES",0,$default_accept_types);
$block_types = deep_get("EXPLORER_BLOCK_TYPES",0,$default_block_types);

//print_html($root);
//print_html($currentPath);
